package com.insmess.meeting.sdk.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 会议资料
 * 
 * @author xujq
 * @email ${email}
 * @date 2024-05-12 17:16:45
 */
public class ImRoomFile implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
    private String id;
	/**
	 * 文件名
	 */
    private String filename;
	/**
	 * 创建时间
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**
	 * 创建人
	 */
    private String createUserId;
	/**
	 * 类型(扩展名)
	 */
    private String fileType;
	/**
	 * 文件url
	 */
    private String fileUrl;
	/**
	 * 会议id
	 */
    private String roomId;
	/**
	 * 上级目录id，如无上级，则为NULL
	 */
    private String parentId;
	/**
	 * 实体类型 0为目录 1为文件
	 */
    private Integer entityType;
	/**
	 * 文件大小，单位为字节
	 */
    private Long fileSize;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public String getRoomId() {
		return roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getEntityType() {
		return entityType;
	}

	public void setEntityType(Integer entityType) {
		this.entityType = entityType;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}
}
